package com.life.ai.server.modules.system.model.dto;


import com.life.ai.server.modules.system.entity.SysRole;
import com.life.ai.server.modules.system.entity.SysUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * SysUserDto
 *
 * @author kylewka
 * @since 2023/11/15
 */
@Getter
@Setter
@Accessors(chain = true)
public class SysUserDTO extends SysUser {

    @ApiModelProperty("角色id列表")
    private List<Long> roleIds;

    @ApiModelProperty("角色列表")
    private List<SysRole> roleList;
}